﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace System.Collections.Generic
{
    public static class DictionaryExtensions
    {
        public static string[] ToStringArray(this IDictionary<string, string> dict,Func<KeyValuePair<string,string>,string> expr)
        {
            return dict.Select(o => { return expr(o); }).ToArray();
        }
    }
}
